<template>
  <a-config-provider :theme="app.themeConfig" :locale="zhCN">
    <div class="w-[100vw] h-[100vh]">
      <router-view></router-view>
    </div>
  </a-config-provider>
</template>

<script setup lang="ts">
import { useAppStore } from './store/app';
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');

const app = useAppStore()
</script>